package com.demo.test.utils;

import java.text.ParseException;
import java.util.Calendar;

public class PUtils {

    public static void main(String[] args) throws ParseException {

        currentDatePoint96();

    }

    public static int currentDatePoint96() throws ParseException {
        Calendar cal = Calendar.getInstance();

        cal.setTime(DateUtils.getDateYMDHMSByHMS("23:45:00"));

        int hour = cal.get(Calendar.HOUR_OF_DAY);
        int minute = cal.get(Calendar.MINUTE);

        int num = (hour * 60 + minute) / 15 + 1;

        System.out.println(num);

        return 0;
    }

}
